from unittest import result
from util.mysqlConnect import mysqlSession


def main():
    conn = mysqlSession()
    cursor = conn.cursor(dictionary=True)
    sql = 'show databases;'
    cursor.execute(sql)
    result = cursor.fetchall()
    print(result)

if __name__ == '__main__':
    main()